package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.CustomerReturnList;
import com.atguigu.jxc.entity.PurchaseVO2;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author WZhaokang
 * @date 2020/12/30 2:16
 */
@Repository
public interface CustomerReturnListDao {
    void save(CustomerReturnList customerReturnList);

    List<CustomerReturnList> list(@Param("returnNumber") String returnNumber,@Param("customerId") Integer customerId,@Param("state") Integer state,@Param("sTime") String sTime, @Param("eTime") String eTime);

    void delete(Integer customerReturnListId);

    List<PurchaseVO2> count(String sTime, String eTime, Integer goodsTypeId, String codeOrName);
}
